<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>公寓管理系统 - 后台管理</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/admin.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/lib/font-awesome/css/font-awesome.css">
</head>
<body>
<div class="header">
    <h1><a href="#">公寓管理系统</a></h1>

    <div class="user">
        <a href="#">用户:${uname}:</a>
        <a href="${pageContext.request.contextPath}/login.jsp">退出</a>
    </div>
</div>
<div class="main">
    <ul class="left-side">
        <li class="menu-title">
            <a href="#">
                <i class=" fa fa-users"></i>&nbsp;&nbsp;公寓管理
            </a>
        </li>
        <li class="sub-menu">
            <ul>
                <li class="active">
                    <a href="${pageContext.request.contextPath}/house/findAll"  target="pageBox">
                        <i class=" fa fa-circle-thin"></i>&nbsp;&nbsp;房屋信息
                    </a>
                </li>
                <li class="active">
                    <a href="${pageContext.request.contextPath}/contract/findAll" target="pageBox" >
                        <i class=" fa fa-circle-thin"></i>&nbsp;&nbsp;租赁合同
                    </a>
                </li>
                <li class="active">
                    <a href="${pageContext.request.contextPath}/less/findAll?pageNo=1" target="pageBox" >
                        <i class=" fa fa-circle-thin"></i>&nbsp;&nbsp;租户信息
                    </a>
                </li>
                <li class="active" target="pageBox">
                    <a  href="${pageContext.request.contextPath}/rent/findAll?pageNo=1" target="pageBox" >
                        <i class=" fa fa-circle-thin"></i>&nbsp;&nbsp;房租信息
                    </a>
                </li>

            </ul>
        </li>
        <li class="menu-title">
            <a href="#">
                <i class=" fa fa-users"></i>&nbsp;&nbsp;服务管理
            </a>
        </li>
        <li class="sub-menu">
            <ul>
                <li>
                    <a href="${pageContext.request.contextPath}/less/findAll?pageNo=1" target="pageBox">
                        <i class=" fa fa-circle-thin"></i>&nbsp;&nbsp;后勤人员
                    </a>
                </li>
                <li>
                    <a href="href="${pageContext.request.contextPath}/less/findAll?pageNo=1" target="pageBox"">
                        <i class=" fa fa-circle-thin"></i>&nbsp;&nbsp;修缮记录
                    </a>
                </li>
                <li>
                    <a  href="href="${pageContext.request.contextPath}/less/findAll?pageNo=1" target="pageBox"">
                        <i class=" fa fa-circle-thin"></i>&nbsp;&nbsp;公寓活动
                    </a>
                </li>

            </ul>
        </li>
        <li class="menu-title">
            <a href="href="${pageContext.request.contextPath}/less/findAll?pageNo=1" target="pageBox"" >
                <i class=" fa fa-sitemap"></i>&nbsp;&nbsp;管理员
            </a>
        </li>
        <li class="sub-menu">
            <ul class="menu">
                <li>
                    <a href="${pageContext.request.contextPath}/less/findAll?pageNo=1" target="pageBox">
                        <i class=" fa fa-circle-thin"></i>&nbsp;&nbsp;角色管理
                    </a>
                </li>
                <li>
                    <a href="${pageContext.request.contextPath}/less/findAll?pageNo=1" target="pageBox">
                        <i class=" fa fa-circle-thin"></i>&nbsp;&nbsp;用户管理
                    </a>
                </li>
            </ul>
        </li>
    </ul>
    <div class="right-side">
        <iframe name="pageBox" src="${pageContext.request.contextPath}/hello.jsp"></iframe>
        <div class="footer">
            lxy ©2022 ok互联科技有限公司
        </div>
    </div>
</div>
<script src="${pageContext.request.contextPath}/lib/jquery/jquery.js"></script>
<script src="${pageContext.request.contextPath}/js/admin.js"></script>
</body>
</html>